
{#            <li class="active"><a href="#">Link <span class="sr-only">(current)</span></a></li>#}
{#            <li><a href="#">Link</a></li>#}
  <li class="dropdown">
  <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">项目 <span class="caret"></span></a>
  <ul class="dropdown-menu">
  {% if my %}
      <h5 class="panel-title"><i class="fa fa-th-list" aria-hidden="true"></i>我创建的</h5>
      {% for row in my %}
          <li><a href="#">{{ row.name }}</a></li>
      {% endfor %}
      <li role="separator" class="divider"></li>
  {% endif %}
  {% if join %}
      {% for row in join %}
          <li><a href="#">{{ join.project.name }}</a></li>
      {% endfor %}
      <li role="separator" class="divider"></li>
  {% endif %}

    <li><a href="{% url 'project_list' %}">所有项目</a></li>
  </ul>
</li>

